package com.kingstar.ceres.mapper.base;

import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface BaseDao {

    List pageQuery(@Param("start") Integer start,
                                          @Param("size") Integer size,
                                          @Param("beginDate") Date beginDate,
                                          @Param("endDate") Date endDate);

    Integer count(@Param("beginDate") Date beginDate,
                  @Param("endDate") Date endDate);
}
